package com.xquant.marketdata.marketdata.domain;


import com.xquant.common.core.annotation.Excel;
import com.xquant.common.core.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 股指期货对象 TSTK_IDX_FUTURE
 *
 * @author zipeng.li
 * @date 2022-03-10
 */
public class FutureInfoDTO {
    /** 合约代码 */
    @Excel(name = "合约代码")
    private String iCode;
    /** 合约名称 */
    @Excel(name = "合约名称")
    private String siName;

    /** 产品类型 */
    @Excel(name = "资产类型",dictType = "A_TYPE")
    private String aType;

    /** 上市日期 */
    @Excel(name = "上市日期")
    private String listDate;

    public String getmType() {
        return mType;
    }

    public void setmType(String mType) {
        this.mType = mType;
    }

    private String mType;

    private String instrument;

    public String getInstrument() {
        return instrument;
    }

    public void setInstrument(String instrument) {
        this.instrument = instrument;
    }

    /** 合约乘数 */
    @Excel(name = "合约乘数",cellType = Excel.ColumnType.MONEY,scale = 4)
    private BigDecimal lotsize;

    /** 结算方式 */
    @Excel(name = "结算方式")
    private String settlementType;

    /** 配对缴款日 */
    @Excel(name = "配对缴款日")
    private String maturityDate;

    /** 最后交易日 */
    @Excel(name = "最后交易日")
    private String lastTradeDate;

    /** 保证金率 */
    @Excel(name = "保证金率",cellType = Excel.ColumnType.MONEY,scale = 4)
    private BigDecimal marginRate;


    public String getiCode() {
        return iCode;
    }

    public void setiCode(String iCode) {
        this.iCode = iCode;
    }

    public String getSiName() {
        return siName;
    }

    public void setSiName(String siName) {
        this.siName = siName;
    }

    public String getaType() {
        return aType;
    }

    public void setaType(String aType) {
        this.aType = aType;
    }

    public String getListDate() {
        return listDate;
    }

    public void setListDate(String listDate) {
        this.listDate = listDate;
    }

    public BigDecimal getLotsize() {
        return lotsize;
    }

    public void setLotsize(BigDecimal lotsize) {
        this.lotsize = lotsize;
    }

    public String getSettlementType() {
        return settlementType;
    }

    public void setSettlementType(String settlementType) {
        this.settlementType = settlementType;
    }

    public String getMaturityDate() {
        return maturityDate;
    }

    public void setMaturityDate(String maturityDate) {
        this.maturityDate = maturityDate;
    }

    public BigDecimal getMarginRate() {
        return marginRate;
    }

    public void setMarginRate(BigDecimal marginRate) {
        this.marginRate = marginRate;
    }

    public String getLastTradeDate() {
        return lastTradeDate;
    }

    public void setLastTradeDate(String lastTradeDate) {
        this.lastTradeDate = lastTradeDate;
    }
}
